"""
路由分发
"""
from django.contrib import admin
from django.urls import path
from goods import views as goods_views

urlpatterns = [
    path('admin/', admin.site.urls),
    path('index/', goods_views.index), # 配置路由,当访问/index/路径时,会调用views模块下的index方法
]
